package com.turing.post.common.util;

import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @菜单表
 * @author zxp
 * @date 2012-12-14
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "SysOpMenu")
public class SysOpMenu implements java.io.Serializable {

	/**
	 * 菜单编号
	 */
	private BigInteger menuId;//
	/**
	 * 菜单名称
	 */
	private String menuName;//
	/**
	 * 菜单顺序号
	 */
	private BigInteger menuSeqNo;//
	/**
	 * 菜单类型
	 */
	private String menuType;//
	/**
	 * 父菜单编号
	 */
	private BigInteger superMenuId;//

	public SysOpMenu() {
		super();
	}

	@Id
	@Column(name = "MENUID", nullable = false)
	public BigInteger getMenuId() {
		return menuId;
	}

	public void setMenuId(BigInteger menuId) {
		this.menuId = menuId;
	}

	@Column(name = "MENUNAME", nullable = false)
	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	@Column(name = "MENUSEQNO", nullable = false)
	public BigInteger getMenuSeqNo() {
		return menuSeqNo;
	}

	public void setMenuSeqNo(BigInteger menuSeqNo) {
		this.menuSeqNo = menuSeqNo;
	}

	@Column(name = "MENUTYPE", nullable = false)
	public String getMenuType() {
		return menuType;
	}

	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}

	@Column(name = "SUPERMENUID", nullable = false)
	public BigInteger getSuperMenuId() {
		return superMenuId;
	}

	public void setSuperMenuId(BigInteger superMenuId) {
		this.superMenuId = superMenuId;
	}
}